Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Also allows post for the multi-fetch operation #4290

Merged
merged 4 commits into from
Sep 22, 2023

Conversation

imsdu
Copy link
Contributor

@imsdu imsdu commented Sep 22, 2023

No description provided.

@imsdu imsdu changed the title When a endpoint accepts GET with a body, also allow POST Also allows post for the multi-fetch operation Sep 22, 2023
val entity = request(ResourceRepresentation.AnnotatedSourceJson).toEntity
Get(endpoint, entity) ~> asAlice ~> routes ~> check {
Post(endpoint, entity) ~> asAlice ~> routes ~> check {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we allow both get and post here shouldn't both be tested?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I planned to push this "hotfix" first so as not to unblock Dinika and then complete the tests.
But I can add them now

@imsdu imsdu merged commit ae05a69 into BlueBrain:master Sep 22, 2023
@imsdu imsdu deleted the add-post-multi-fetch branch September 22, 2023 11:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants